﻿using System;
using Abp.Application.Services.Dto;

namespace ARchGL.Platform.Organizations.Dto
{
    public class OrganizationUnitUserListDto : EntityDto<long>
    {
        public string Name { get; set; }

        public string Surname { get; set; }

        public string UserName { get; set; }

        public long UserId { get; set; }

        /// <summary>
        /// 用户 GUID 标识
        /// </summary>
        public Guid UserPrimaryId { get; set; }

        public string EmailAddress { get; set; }

        public string PhoneNumber { get; set; }

        public Guid? ProfilePictureId { get; set; }

        public DateTime AddedTime { get; set; }
        /// <summary>
        /// 创建时间戳
        /// </summary>
        public long AddedUniversalTime { get { return AddedTime.ToUnixTimestamp(); } }

        /// <summary>
        /// 用户头像
        /// </summary>
        public string Avatar { get; set; }
        /// <summary>
        /// 职位信息
        /// </summary>
        public string Position { get; set; }
        /// <summary>
        /// 性别： 1男 / 2女
        /// </summary>
        public int Gender { get; set; }
    }
}